/* General Body Styles */
body {
  background-color: #f0f2f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  margin: 0;
  padding: 24px;
  color: #333;
}

h1, h2 {
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 24px;
}

h2 {
    font-size: 1.2em;
    margin-top: 32px;
}

/* Page Container Layout */
.page-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.page-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  width: 100%;
}

/* Mobile View Styles */
.mobile-view {
  width: 375px;
  height: 812px;
  border: 1px solid #dcdcdc;
  border-radius: 20px;
  background-color: #f8f8f8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-view .weui-page {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.weui-navbar__title {
  font-size: 17px;
  font-weight: 600;
}

/* WeUI component overrides */
.weui-form {
    background-color: #ffffff;
}
.weui-cells__title {
    margin-top: 1.2em;
    margin-bottom: .6em;
    padding-left: 16px;
    padding-right: 16px;
    color: #666;
    font-size: 14px;
}
.weui-panel__bd .weui-media-box__title {
    font-size: 16px;
    font-weight: 500;
}
.weui-media-box__desc {
    font-size: 13px;
    color: #888;
}
.income {
    color: #07c160;
}
.expense {
    color: #ee0a24;
}
.transaction-amount {
    font-size: 1.1em;
    font-weight: bold;
}
.weui-form-preview__label {
    min-width: 80px;
    text-align: justify;
    text-align-last: justify;
}
.weui-form-preview__value {
  flex: 1;
  word-break: break-all;
}

/* PC View Styles */
.pc-view {
  width: 100%;
  max-width: 1400px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-top: 24px;
}

#pc-app {
  display: flex;
  height: auto;
}

.el-aside {
  background-color: #545c64;
  color: #fff;
  width: 200px !important;
}

.el-menu {
  border-right: none;
}

.el-main {
  padding: 24px;
  background-color: #f0f2f5;
}

.pc-page-section {
  background-color: #fff;
  padding: 24px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.pc-page-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #303133;
    border-left: 4px solid #409EFF;
    padding-left: 12px;
}

.el-table th {
  background-color: #f5f7fa;
}

.el-tag {
  margin-right: 5px;
}

.filter-bar {
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
} 